//
//  Cache.m
//  MOSAD_HW3
//
//  Created by enrique leo on 2020/12/17.
//

#import <Foundation/Foundation.h>
#import "Cache.h"

Cache* imageCache = nil;

@implementation Cache

- (instancetype)init {
    self = [super init];
    self.imageUrls = [[NSMutableArray alloc] initWithCapacity:0];
    self.imageDatas = [[NSMutableDictionary alloc] initWithCapacity:0];
    return self;
}

- (void) removeALL{
    [self.imageUrls removeAllObjects];
    [self.imageDatas removeAllObjects];
}

@end
